﻿@{
    ViewData["Title"] = "EditOutBound";
    Layout = "~/Views/Shared/Temp.cshtml";
}

<blockquote class="layui-elem-quote">
    <h1 style="color:darkgray">
        出库管理
    </h1>
</blockquote>

<div class="layui-card" style="width: 90%;height:900px;">
    <table style="border:1px solid darkgray;width:100%;height:50px;margin-top:30px">
        <tr>
            <td style="color:darkgray">编辑出库单</td>
        </tr>
    </table>

    <form class="layui-form" action="" style="margin-top:20px;width:90%;">
        @* 第一行 *@
        <div class="layui-row">
            <div class="layui-col-md4">
                <div class="grid-demo grid-demo-bg1">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item">
                            <label class="layui-form-label">出库单号:</label>
                            <div class="layui-input-block">
                                <input type="text" id="outShipCode" placeholder="" style="width: 200px" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="grid-demo">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item" style="margin-bottom: 0;">
                            <label class="layui-form-label">出库类型:</label>
                            <div class="layui-input-block" style="width: 200px">
                                <select name="type" id="outShipType" >
                                    <option value=1>销售入库</option>
                                    <option value=2>销售出库</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-inline">
                    <label class="layui-form-label">关联订单号</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <input type="text" id="orderNumber" placeholder="" style="width: 200px" class="layui-input">
                    </div>
                </div>
            </div>
        </div>


        @* 第二行 *@
        <div class="layui-row">
            <div class="layui-col-md4">
                <div class="grid-demo grid-demo-bg1">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item">
                            <label class="layui-form-label">客户编号:</label>
                            <div class="layui-input-block">
                                <input type="text" id="ClientCode" placeholder="" style="width: 200px" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="grid-demo">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item" style="margin-bottom: 0;">
                            <label class="layui-form-label">客户名称:</label>
                            <div class="layui-input-block">
                                <input type="text" id="ClientName" placeholder="" style="width: 200px" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-inline">
                    <label class="layui-form-label">客户联系人</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <select id="Ccontact" lay-filter="Ccontact" style="width: 200px"></select>
                    </div>
                </div>
            </div>
        </div>




        @* 第三行 *@
        <div class="layui-row">
            <div class="layui-col-md4">
                <div class="grid-demo grid-demo-bg1">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item">
                            <label class="layui-form-label">客户联系方式:</label>
                            <div class="layui-input-block">
                                <input type="text" id="VendorPhone" placeholder="" style="width: 200px" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="grid-demo">
                    <div class="layui-col-sm4">
                        <div class="layui-form-item" style="margin-bottom: 0;">
                            <label class="layui-form-label">制单人:</label>
                            <div class="layui-input-block">
                                <input type="text" id="makePerson" placeholder="" style="width: 200px" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md4">
                <div class="layui-inline">
                    <label class="layui-form-label">制单时间</label>
                    <div class="layui-input-inline layui-input-wrap">
                        <div class="layui-input-prefix">
                            <i class="layui-icon layui-icon-date"></i>
                        </div>
                        <input type="date" name="date" id="markTime" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" style="width: 200px" class="layui-input">
                    </div>
                </div>
            </div>
        </div>



        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" id="oRremark" class="layui-textarea" style="width:90%;height:100px"></textarea>
            </div>
        </div>
        @* 产品提交 *@
        <table style="border: solid 1px gainsboro; width: 100%; height: 50px; margin-bottom: 30px">
            <tr style="height: 50px; margin-left: 20px">
                <td style="font-size: 15px; font-weight: bold; color: dimgray">出库产品信息</td>
                <td style="float:right">
                    <button type="button" class="layui-btn-lg layui-btn-primary" id="addpro" lay-on="test-page">新增产品</button>
                </td>
            </tr>
        </table>

        @* 产品表格 *@
        <table class="layui-hide" id="table-demo" lay-data="{height:315}"></table>

        <div class="layui-btn-container" style="text-align:center">
            <button type="button" class="layui-btn" id="submit" lay-submit>提交</button>
            <button type="button" class="layui-btn layui-btn-primary" onclick="">取消</button>
        </div>
    </form>
</div>



<script src="~/js/outbound/uptoutboundjs.js"></script>
